﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using StyleMVVM.DependencyInjection;
using StyleMVVM.ViewModel;
using Wala.Connection.Objects.Contacts;

namespace Wala.ViewModels.Main
{
    [NonRunTimeExport]
    [ViewModel("MainPageViewModel")]
    public class DesignMainPageViewModel:MainPageViewModel
    {
        [ActivationComplete]
        public void Activated()
        {
            ContactBasic contact = new ContactBasic(10056803,"vanhung90hd",null,1,1,1);
            ContactBasic contact1 = new ContactBasic(10056803, "vanhung90hd", null, 124341, 1, 1);
            ContactBasic contact2 = new ContactBasic(10056803, "vanhung90hd", null, 3, 1, 1);
            ContactBasic contact3 = new ContactBasic(10056803, "vanhung90hd", null, 3, 1, 1);
            ContactBasic contact4 = new ContactBasic(10056803, "vanhung90hd", null, 3, 1, 1);
            ContactBasic contact5 = new ContactBasic(10056803, "vanhung90hd", null, 3, 1, 1);

            IsBusy = false;            

            Contacts = new System.Collections.ObjectModel.ObservableCollection<ContactBasic>();
            Contacts.Add(contact);
            Contacts.Add(contact1);
            Contacts.Add(contact2);
            Contacts.Add(contact3);
            Contacts.Add(contact4);
            Contacts.Add(contact5);
        }
    }
}
